package ooday02;

public class Test {
    public static void main(String[] args) {
        Dog xh = new Dog("小黄",3,"白","泰迪","骨头");
        xh.lookHome();
        xh.drink();
        xh.eat();

        Chick xhj = new Chick("小黄鸡",2,"黄",'公');
        xhj.agg();
        xhj.eat();

        Fish xby = new Fish();
        xby.name = "小白鱼";
        xby.eat();
        xby.drink();

        Fish xhy = new Fish("小红鱼",1,"红");
        xhy.eat();
    }
}
